package com.atguigu.gulimall.member.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

//告诉springcloud  这是一个远程调用的接口
@FeignClient("gulimall-coupon")
public interface CouponFeignService {


    //接口路径要写全  调用coupon的  接口路径
    @RequestMapping("coupon/coupon/member/list")
    public R membercoupons();

}
